#include "WorldController.h"

WorldController::WorldController( )
{
}

WorldController::~WorldController( )
{
}

void WorldController::CreateWorld( Sprite population[] )
{
	int populace = 0 ;

	for( int i = 0; i < ROWS; i++ )
	{
		for( int j = 0; j < COLS; j++ )
		{
			population[populace].position = D3DXVECTOR3( 20.0f * i + X_OFFSET, 20.0f * j + Y_OFFSET, 0 ) ;
			populace++;
		}
	}
}